import {http} from '../http';
const _HTTP = new http();
// 服务类型接口
export const getServiceType = function (data) {
    return _HTTP.request({
        method: "GET",
        url: "/service/getServiceType",
        data: data,
    })
}
// 服务列表无分页
export const serviceList = function (data) {
    return _HTTP.request({
        method: "GET",
        url: "/service/List",
        data: data,
    })
}

// 服务列表无分页
export const serviceListPage = function (data) {
    return _HTTP.request({
        method: "GET",
        url: "/service/ListPage",
        data: data,
    })
}

// 服务预约
export const getReserve = function (data, header) {
    return _HTTP.request({
        method: "POST",
        url: "/member/reserve",
        data: data,
        header: header,
    });
}

// 服务详情
export const serviceGet = function(data) {
    return _HTTP.request({
        method: "GET",
        url: "/service/get",
        data: data,
    });
}

// 获取多个用户ID
export const getAllmidList = function(data) {
    return _HTTP.request({
        method: "GET",
        url: "/member/getAllmidList",
        data: data,
    });
}